import myAxios from '../utils/myAxios'

export const reqGetAddressList = () => {
  return myAxios.get('/api/user/userAddress/auth/findUserAddressList')
}

export const reqGetTradeInfo = () => {
  return myAxios.get('/api/order/auth/trade')
}

export const reqSubmitOrder = params => {
  return myAxios.post(
    `/api/order/auth/submitOrder?tradeNo=${params.tradeNo}`,
    params
  )
}
